{extend name="../../admin/view/main"}

{block name="button"}
{/block}

{block name="content"}
<div class="layui-tab layui-tab-card">
    <div class="layui-tab-content">
        {include file='user/admin/index_search'}
        <table class="layui-table margin-top-10" lay-skin="line">
            {notempty name='list'}
            <thead>
            <tr>
                <th class='list-table-check-td think-checkbox'>
                    <label><input data-auto-none data-check-target='.list-check-box' type='checkbox'></label>
                </th>
                <th class='nowrap'>会员用户</th>
                <th class='nowrap'>手机号</th>
                <th class='nowrap'>真实姓名</th>
                <th class='nowrap'>注册时间</th>
            </tr>
            </thead>
            {/notempty}
            <tbody>
            {foreach $list as $key=>$vo}
            <tr>
                <td class='list-table-check-td think-checkbox'>
                    <label><input class="list-check-box" type='checkbox' value='{$vo.id}'></label>
                </td>
                <td class="nowrap">
                    <div class="headimg headimg-md" data-tips-hover data-tips-image data-lazy-src="{$vo.headimg|default='__ROOT__/static/theme/img/headimg.png'}"></div>
                    <div class="inline-block">
                        <div>
                            用户昵称：<span class="color-text">{$vo.nickname|default='-'}</span>
                        </div>
                    </div>
                </td>
                <td class="nowrap">
                    <div><span class="color-text">{$vo.phone|default='-'}</span></div>
                </td>
                <td class="nowrap">
                    <div>{$vo.username|default='-'}</div>
                </td>
                <td class="nowrap">
                    <div>{$vo.create_at}</div>
                </td>
            </tr>
            {/foreach}
            </tbody>
        </table>
        {empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}
    </div>
</div>
{/block}
